package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 钱包地址表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name="wallet_address")
public class WalletAddressInfo extends BaseEntity{
    /*
      `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
      `address` varchar(255) DEFAULT NULL COMMENT '地址',
      `address_qr` varchar(64) DEFAULT NULL COMMENT '地址二维码路径',
      `default_state` char(1) DEFAULT '0' COMMENT '默认使用状态(0：是，1：否)',
     */
    private static final long serialVersionUID = 1L;
    private String userId;                  // 用户id
    private String address;                 // 地址
    private String addressQr;              // 地址二维码路径
    private String defaultState;           // 默认使用状态(0：是，1：否)

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddressQr() {
        return addressQr;
    }

    public void setAddressQr(String addressQr) {
        this.addressQr = addressQr;
    }

    public String getDefaultState() {
        return defaultState;
    }

    public void setDefaultState(String defaultState) {
        this.defaultState = defaultState;
    }
}